mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Add guard I forgot to add in 693b78001c
(Thanks @justinsb for noticing this!)
This commit is contained in:
@@ -1460,8 +1460,10 @@ var wrapInternalException = function (exception, context) {
|
||||
// server log
|
||||
if (!exception.expected) {
|
||||
Meteor._debug("Exception " + context, exception.stack);
|
||||
Meteor._debug("Sanitized and reported to the client as:", exception.sanitizedError.message);
|
||||
Meteor._debug();
|
||||
if (exception.sanitizedError) {
|
||||
Meteor._debug("Sanitized and reported to the client as:", exception.sanitizedError.message);
|
||||
Meteor._debug();
|
||||
}
|
||||
}
|
||||
|
||||
// Did the error contain more details that could have been useful if caught in
|
||||
|
||||
Reference in New Issue
Block a user