Commits

Bob Bergman committed c538900

Handle Strings as well as Errors

Comments (0)

Files changed (1)

 function Addon(app, opts, logger) {
 
     RSVP.configure('onerror', function (err) {
-        logger.error('Unhandled error:', err.stack);
+        logger.error('Unhandled error:', err.stack || err);
     });
 
     var self = this;