diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-15 09:52:38 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-15 09:52:38 +0200 |
commit | 8c34d786e46adbcf5496549cb3fe1898761632d4 (patch) | |
tree | 18ffb14b6e8c9e6889474aa54c13fe9ce7b2a330 /services/sync/services-sync.js | |
parent | 9d833d769a064d6b0d18813ab03adc2ff2139615 (diff) | |
download | UXP-8c34d786e46adbcf5496549cb3fe1898761632d4.tar UXP-8c34d786e46adbcf5496549cb3fe1898761632d4.tar.gz UXP-8c34d786e46adbcf5496549cb3fe1898761632d4.tar.lz UXP-8c34d786e46adbcf5496549cb3fe1898761632d4.tar.xz UXP-8c34d786e46adbcf5496549cb3fe1898761632d4.zip |
Issue #1208: Fix jsonLoad in Sync's `util.js` to handle errors.
- `OS.Path.join` can throw, so we always need to try/catch it.
- Also do a sanity check to make sure `callback` is defined before use
Diffstat (limited to 'services/sync/services-sync.js')
0 files changed, 0 insertions, 0 deletions