• Ryan A. Chapman's avatar
    Log config parsing errors · 7151b964
    Ryan A. Chapman authored
    Beego currently handles the case of "conf/app.conf"
    not existing, but all other errors are not logged.
    This fixes that.
    
    I ran into an issue where beego was not listening on the
    correct port, and it turned out that the conf/app.conf file
    had a colon ":" instead of an equal sign "=" (confusion of
    INI vs YAML formats).  When there was a parsing error, beego
    would give up on parsing app.conf and not log anything to the
    console.
    7151b964
Name
Last commit
Last update
cache Loading commit data...
config Loading commit data...
context Loading commit data...
grace Loading commit data...
httplib Loading commit data...
logs Loading commit data...
migration Loading commit data...
orm Loading commit data...
plugins Loading commit data...
session Loading commit data...
swagger Loading commit data...
testing Loading commit data...
toolbox Loading commit data...
utils Loading commit data...
validation Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
admin.go Loading commit data...
adminui.go Loading commit data...
app.go Loading commit data...
beego.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
controller.go Loading commit data...
controller_test.go Loading commit data...
doc.go Loading commit data...
docs.go Loading commit data...
error.go Loading commit data...
filter.go Loading commit data...
filter_test.go Loading commit data...
flash.go Loading commit data...
flash_test.go Loading commit data...
hooks.go Loading commit data...
log.go Loading commit data...
memzipfile.go Loading commit data...
mime.go Loading commit data...
namespace.go Loading commit data...
namespace_test.go Loading commit data...
parser.go Loading commit data...
router.go Loading commit data...
router_test.go Loading commit data...
staticfile.go Loading commit data...
template.go Loading commit data...
template_test.go Loading commit data...
templatefunc.go Loading commit data...
templatefunc_test.go Loading commit data...
tree.go Loading commit data...
tree_test.go Loading commit data...