Skip to content

Commit 11c2d41

Browse files
authored
Update content/guide/error-handling.md (#103)
1 parent 5c8f9e6 commit 11c2d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/guide/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Error handling
33
---
44

5-
Errors in NativeScript are handled differently to how they operate in a web application. By default when an unhandled exception is thrown in NativeScript, the app may crash, and an error with the corresponding stack trace will be shown. When the app is in **development** mode this may be the desired behaviour. However, when the app is in **production** similar application crashes can seriously hurt an app's credibility and drive away customers. In many cases, a different behavior is desired (e.g. app freeze, blank screen, failed navigation) to an actual crash with an error log.
5+
Errors in NativeScript are handled differently to how they operate in a web app. By default when an unhandled exception is thrown in NativeScript, the app may crash, and an error with the corresponding stack trace will be shown. When the app is in **development** mode this may be the desired behaviour. However, when the app is in **production** an app crash can seriously hurt an app's credibility and drive away customers. In many cases, you'll want different error handling behavior between development and production (e.g. app freeze, blank screen, failed navigation).
66

77
NativeScript allows error handling to be set dependent on whether the app is in **development** or **production** mode in the following three ways:
88

0 commit comments

Comments
 (0)