Page MenuHomePhabricator

Install an uncaught exception handler in Aphlict
ClosedPublic

Authored by epriestley on Jun 23 2014, 8:47 PM.
Tags
None
Referenced Files
F13980986: D9698.id23285.diff
Sat, Oct 19, 1:40 PM
F13955972: D9698.diff
Mon, Oct 14, 3:47 AM
Unknown Object (File)
Sep 20 2024, 3:10 PM
Unknown Object (File)
Sep 20 2024, 12:55 AM
Unknown Object (File)
Sep 19 2024, 9:40 PM
Unknown Object (File)
Sep 10 2024, 4:21 AM
Unknown Object (File)
Aug 21 2024, 6:02 PM
Unknown Object (File)
Aug 19 2024, 10:36 PM
Subscribers

Details

Summary

Ref T5373. This seems to work pretty much correctly.

Also stop popping bubbles and just use the log, since users find the bubbles confusing/not useful and they're not great for developers either.

Future diffs will expose more user-facing stuff.

Test Plan

Added throw to AphlictClient.as, got a log in the parent window.

Diff Detail

Repository
rP Phabricator
Branch
aphlict1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1345
Build 1345: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Install an uncaught exception handler in Aphlict.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: joshuaspence.

Is the 2048 error meant to show up in the console? I'm not seeing it.

Hmm, shows up for me:

Screen_Shot_2014-06-23_at_2.00.27_PM.png (160×475 px, 17 KB)

Let me try something...

epriestley edited edge metadata.
  • Accept Object instead of Error in this.error(...)

Nope, still completely blank for me.

(You have notification.debug enabled, I assume?)

Ahhhh nevermind... I thought I had notification.debug enabled, but it turns out my config file was invalid JSON:


  "notification.debug": true
}
support/aphlict/client/src/Aphlict.as
37

Is this necessary?

support/aphlict/client/src/Aphlict.as
37

It seems that Flash lets us get away with it, but it's more correct to use Object since we sometimes pass strings, not errors.

This revision is now accepted and ready to land.Jun 23 2014, 9:16 PM
epriestley updated this revision to Diff 23285.

Closed by commit rP80f26e96ea40 (authored by @epriestley).