Update prod.dart

This commit is contained in:
Tobe O 2018-07-11 09:42:43 -04:00 committed by GitHub
parent f18929fd22
commit 0389803641
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ void isolateMain(int id) {
app.configure(configureServer).then((_) async { app.configure(configureServer).then((_) async {
// In production, we'll want to log errors to a file. // In production, we'll want to log errors to a file.
// Alternatives include sending logs to a service like Sentry. // Alternatives include sending logs to a service like Sentry.
hierarchicalLoggingEnabled = true;
app.logger = new Logger('angel') app.logger = new Logger('angel')
..onRecord.listen((rec) { ..onRecord.listen((rec) {
if (rec.error == null) { if (rec.error == null) {