Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(38)

Unified Diff: environs/config/config.go

Issue 14005043: Tweak internal logging
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | provider/local/environprovider.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/config/config.go
=== modified file 'environs/config/config.go'
--- environs/config/config.go 2013-09-24 05:42:43 +0000
+++ environs/config/config.go 2013-09-26 23:26:19 +0000
@@ -587,6 +587,7 @@
checker := schema.FieldMap(fields, defaults)
coerced, err := checker.Coerce(attrs, nil)
if err != nil {
+ logger.Errorf("coersion failed: %#v, %#v, %v", attrs, checker, err)
wallyworld 2013/09/26 23:40:36 Do we need a label in the output for each %v so th
return nil, err
}
result := coerced.(map[string]interface{})
« no previous file with comments | « [revision details] ('k') | provider/local/environprovider.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b