Page MenuHomePhabricator

Catch errors that may occur whilst receiving data from the Aphlict server.
ClosedPublic

Authored by joshuaspence on Jun 4 2014, 11:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 24, 11:12 PM
Unknown Object (File)
Wed, Apr 24, 7:01 AM
Unknown Object (File)
Sat, Apr 20, 7:55 AM
Unknown Object (File)
Fri, Apr 19, 3:38 AM
Unknown Object (File)
Fri, Apr 19, 3:38 AM
Unknown Object (File)
Sun, Apr 14, 9:42 PM
Unknown Object (File)
Thu, Apr 11, 10:08 AM
Unknown Object (File)
Thu, Apr 11, 4:50 AM
Subscribers

Details

Summary

Ref T4324. Currently, if the AphlictMaster receives dodgy data from the Aphlict server (invalid JSON, for example) then a syntax error will be thrown and the AphlictMaster will die. Instead, catch errors and raise a notification.

Test Plan

error.png (649×1 px, 39 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Catch errors that may occur whilst receiving data from the Aphlict server..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited edge metadata.

Always show Aphlict errors as a notification popup (even when debug mode is disabled).

joshuaspence edited the test plan for this revision. (Show Details)

Fix line length.

Prefix error message with "(Aphlict) "

joshuaspence edited the test plan for this revision. (Show Details)
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jun 5 2014, 4:41 PM
epriestley updated this revision to Diff 22394.

Closed by commit rP8033a697461d (authored by @joshuaspence, committed by @epriestley).