Comments (3)
Thank you for this issue but what do you actually suggest?
Why exceptions in this listener should not be ignored? Explain please.
from peconomy.
Exceptions shouldn't be ignored for the same reason you shouldn't be wrapping every code block in try { } catch (Throwable ignored) {}
.
Exceptions are your friends, not your enemies. They provide valuable information about what went wrong and when. Lost exceptions harm the quality of your code as bugs go unnoticed. Even if you knew your current code did not throw any, future code changes can easily introduce new bugs.
It would be ludicrous to write your code to ignore and hide all exceptions. The easiest bugs to fix are the ones which make themselves clear.
from peconomy.
Okay, you're right.
Issued code snippet actually shouldn't throw any exceptions apart from database queries exceptions.
I'll think about it, thanks again.
from peconomy.
Related Issues (11)
- Plugin apparently not connecting to MySQL HOT 16
- [FEATURE] Add Towny Support HOT 3
- Database connection
- currency convert HOT 8
- PAPI not work HOT 1
- import api
- Vault hook uses the wrong config HOT 1
- pay and add command defaulting to using "dollars" as currency instead of custom one HOT 3
- Not respecting config. HOT 2
- null HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peconomy.