Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added custom error reporting around JSON parsing of comet messages, j…
…ust in case this didn't solve it. It will post relevant info to a server action that emails admin and nathan.
- Loading branch information
1 parent
bfe9a7f
commit f3d06d7
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,9 @@ | |
} | ||
} | ||
} catch(e) { | ||
if (e != breaker) throw e; | ||
if (e != breaker) { | ||
throw e; | ||
} | ||
} | ||
return obj; | ||
}; | ||
|