question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add ConnectionErrorEventHandler

See original GitHub issue

@ColinSullivan1 regarding implementing same/similar functionality as:

Is the idea that we add:

public EventHandler<ConnErrorEventArgs> ConnectionErrorEventHandler = null;

and if that is hooked in, we use that upon disconnect due to error instead of DisconnectedEventHandler?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ColinSullivan1commented, Nov 6, 2019

Yep, the Error:Exception member would be unused in most handlers, but imo better than adding a new event and associated args. It could be set for the Disconnected and Closed events. The commit looks great!

0reactions
danielwertheimcommented, Nov 6, 2019

@ColinSullivan1 see referenced commit. Is that the solution you had in mind?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capturing SSIS Package Errors Using OnError Event ...
Adding OnError Event Handler to SSIS Package. If you click on the Event Handlers tab in the package, you will see a drop...
Read more >
Integration Services (SSIS) Event Handlers - SQL
Click the link on the design surface of the Event Handler tab. Add control flow items to the event handler, and connect items...
Read more >
SSIS OnError event handler not firing on failed database ...
When I run the package via a batch file, I see in my batch file log that the package failed to execute because...
Read more >
Window: error event - Web APIs - MDN Web Docs - Mozilla
Use the event name in methods like addEventListener() , or set an event handler property. ... addEventListener("error", (event) => {}); onerror = ...
Read more >
On Error () Logging by Using Event Handlers
Then Click on the Event Handlers tab. Select OnError Event handler from the right drop box and click on the middle. Here we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found