Comments (5)
Επιπλεον σταματαει την εκτελεση του server.js, οποτε λεω αφου βαλουμε ολα τα routes να τα περασουμε ολα και να βαλουμε μια κοινη μεθοδο ανταποκρισης στα σφαλματα
from passbuy.
from passbuy.
Μια αναφορά σε ένα καλό άρθρο σχετικά με το error handling.
https://www.joyent.com/node-js/production/design/errors
@TsimpDim Πρέπει να τελειώσουμε με το εξής pull request #20 ώστε να προχωρήσω στο error handling.
from passbuy.
Δεν προλαβαινω να το διαβασω τωρα αλλα just for reference ενας απλος (albeit ισως μπακαλικος) τροπος ειναι αυτος εδω
from passbuy.
Ακριβώς αυτό θα υλοποιήσω, απλά θα στέλνουμε ένα JSON στον χρήστη κάθε φορά που υπάρχει σφάλμα μέσω κάποιας συνάρτησης ωστε να μην επαναλαμβάνουμε κώδικα.
Επειδή δεν έχουμε και πολλές ασύγχρονες λειτουργίες φαίνεται μια χαρά λυση μέχρι στιγμής.
from passbuy.
Related Issues (20)
- Algorithm for finding lowest basket price - A proposal HOT 11
- Passing data between Activities HOT 6
- CategoriesSearchPage Development
- Some times app crashes at Launch cause of bestsupermarket value
- Category_id should start from 0. HOT 1
- Auto-Scrolling name TextViews of results at "SearchResults" not working properly.
- Ticks on "SearchResults" dont work properly. HOT 3
- ERROR PATATAKIA NOT FOUND. HOT 3
- Back button functionality, should give extras back and forth. HOT 2
- Cleanup code for completed activities
- Optimize code for completed activities
- Add home button functionality to categories search page.
- Hide keyboard after search and add search functionality on it.
- Update & improve READMEs
- Crash if Toast appears in SearchResults
- API error handler declaration is not explicit HOT 1
- User location tracking is not functional
- Popup dialog crashing on API < 23
- Basket is lost when moving to category searching
- Basket is lost on SearchResults
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 passbuy.