aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other/PositionPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/other/PositionPage.js')
-rw-r--r--modern/src/other/PositionPage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/other/PositionPage.js b/modern/src/other/PositionPage.js
index 4c13955a..76bb560f 100644
--- a/modern/src/other/PositionPage.js
+++ b/modern/src/other/PositionPage.js
@@ -41,6 +41,8 @@ const PositionPage = () => {
if (positions.length > 0) {
setItem(positions[0]);
}
+ } else {
+ throw Error(await response.text());
}
} else {
setItem({});