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.

When printer was restarted, I got java.io.IOException: Broken pipe when printing. How to catch this exception ? because when I tried theese, it was’nt detected as exception

printer.printCustom('anything', 1, 1).onError((error, stactTrace) {
   //do something
});

printer.printCustom('anything', 1, 1).catchError((onError) {
   //do something
});

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
github-actions[bot]commented, Aug 28, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

0reactions
danny2585commented, Dec 5, 2022

was this problem fixed?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What causes the Broken Pipe Error? - Stack Overflow
With a big write, you are bigger than the MTU and the system spots the problem quicker. If you ignore the SIGPIPE signal,...
Read more >
9 Things You Should Do When You Find A Burst Or Broken Pipe
9 Things You Should Do When You Find A Burst Or Broken Pipe · 1. Turn off the Water · 2. Cut the...
Read more >
15 Things You Should Do When You Find a Burst Pipe
A burst pipe is the last thing anyone wants to tackle. · Shut off the Water · Open a Faucet · Call a...
Read more >
Broken Pipe Error in Python - GeeksforGeeks
A broken Pipe Error is generally an Input/Output Error, which is occurred at the Linux System level. The error has occurred during the...
Read more >
5 Ways to Fix a Broken Pipe - wikiHow
1. Shut off the valve closest to the leak. Check the pipes nearest the leak for a handle or tap, or a small...
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