Y
Hacker News
new
|
ask
|
show
|
jobs
by
tedunangst
2165 days ago
What specifically goes in the catch block? Please be precise.
2 comments
sjwright
2165 days ago
In the case of an appliance device where the XML file was externally supplied? Continue as though the file never existed (and possibly also delete the XML file).
link
_ph_
2165 days ago
Either proceed with some safe default values or at least go into a maintenance mode, where the file can be replaced or newly downloaded.
link