lantern icon indicating copy to clipboard operation
lantern copied to clipboard

Handle interactions from unexpected state dialog

Open myleshorton opened this issue 13 years ago • 7 comments

This should correspond to a post to exceptional with a message, possibly the model JSON, as it should in any other error case. To trigger, you can do:

command-opt-j

$('body').scope().$apply(function(){model.version.installed.api.major = 3;})

myleshorton avatar Mar 01 '13 19:03 myleshorton

@myleshorton Do ERROR/WARN log messages get sent to getExceptional by the Exceptional4j appender? If so, I can just log these (which is what's happening presently at the /exception endpoint).

ghostdance avatar Mar 08 '13 23:03 ghostdance

Yeah -- WARN, ERROR, and FATAL will all get sent to exceptional.

On Fri, Mar 8, 2013 at 6:50 PM, ghostdance [email protected] wrote:

@myleshorton https://github.com/myleshorton Do ERROR/WARN log messages get sent to getExceptional by the Exceptional4j appender? If so, I can just log these (which is what's happening presently at the /exception endpoint).

— Reply to this email directly or view it on GitHubhttps://github.com/getlantern/lantern/issues/570#issuecomment-14652916 .

myleshorton avatar Mar 09 '13 06:03 myleshorton

I'm a little confused on this ticket. Did someone edit the description? The description doesn't correspond with the title at all.

myleshorton avatar Mar 11 '13 18:03 myleshorton

@myleshorton I don't know if it was edited or not. But I think it does conflate two issues, both related to the 'broken state' state on the front-end.

ghostdance avatar Mar 11 '13 19:03 ghostdance

OK cool. Yeah I think the exceptional trigger is already done -- I'll just edit the description.

myleshorton avatar Mar 11 '13 19:03 myleshorton

getlantern/lantern-ui@ec5a7c8 uses new endpoints to make it easier for the real backend's handling of interactions from this modal

lanterndev avatar Mar 18 '13 21:03 lanterndev

Hey from my glances at the code it looks like this is all set @ghostdance is that right?

myleshorton avatar Mar 21 '13 17:03 myleshorton