Page MenuHomePhabricator

D5890.diff
No OneTemporary

D5890.diff

diff --git a/lib/utils/errors.js b/lib/utils/errors.js
--- a/lib/utils/errors.js
+++ b/lib/utils/errors.js
@@ -42,7 +42,9 @@
}
function getMessageForException(e: mixed): ?string {
- if (
+ if (typeof e === 'string') {
+ return e;
+ } else if (
e &&
typeof e === 'object' &&
e.message &&

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 6:49 PM (20 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2688754
Default Alt Text
D5890.diff (313 B)

Event Timeline