Skip to content

Commit

Permalink
#76 Fix the error status access
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Apr 3, 2018
1 parent 49ad1cb commit ad9dd67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/app/index.run.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function runBlock(
return;
}

let status = transition.error().detail;
let status = transition.error().detail.status;

if (status === 520) {
$state.go('maintenance');
Expand Down

0 comments on commit ad9dd67

Please sign in to comment.