Skip to content

Commit

Permalink
Fix ff-error message
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Feb 21, 2019
1 parent 3d9e83a commit 162cd53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ff-error.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class FanfouError extends Error {
break;
}
}
} else {
this.message = error.message ? error.message : 'Unknown error';
}
}
}
Expand Down

0 comments on commit 162cd53

Please sign in to comment.