Don't use log.Fatal, return the error, it will be logged for you.