I apologize if this has been asked before but I searched google and this 
group and didn't find it.  How do you remove the path from the error 
messages?  So I have a valid error:

2018/10/16 18:13:12 [error] in 
main.checkMaster[/Users/rich/go/mysqlrun/mysqlrun.go:739] 
Error 1045: Access denied for user

How do I get rid of the part highlighted above? It's a valid error. The 
user specified the wrong password so I want the error -- I just don't want 
the path part as a part of that error.  This happens any time there is an 
error in a script, it prints out information about the author that I don't 
particularly want published.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to