Page MenuHomePhabricator

Install an uncaught exception handler in Aphlict
ClosedPublic

Authored by epriestley on Jun 23 2014, 8:47 PM.
Tags
None
Referenced Files
F14320002: D9698.id23285.diff
Wed, Dec 18, 10:23 AM
F14317200: D9698.diff
Wed, Dec 18, 7:53 AM
Unknown Object (File)
Thu, Dec 12, 11:09 AM
Unknown Object (File)
Thu, Dec 12, 3:20 AM
Unknown Object (File)
Wed, Dec 11, 12:13 AM
Unknown Object (File)
Mon, Dec 9, 2:47 PM
Unknown Object (File)
Wed, Dec 4, 4:55 PM
Unknown Object (File)
Sat, Nov 30, 5:23 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 1344
Build 1344: [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 ↗(On Diff #23276)

Is this necessary?

support/aphlict/client/src/Aphlict.as
37 ↗(On Diff #23276)

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).