Skip to content

Commit 0a1066d

Browse files
committed
Fixed status fault on response success.
1 parent b0e1c53 commit 0a1066d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-vue-whoops",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "A visualiser based on the Whoops error handler in Laravel for easy debugging of error exceptions and dumps for ajax calls using a VUE Component.",
55
"main": "src/app.js",
66
"dependencies": {},

src/components/errors.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
if(typeof packet.status !== "undefined" && packet.status < 300)
179179
{
180180
this.close();
181+
return false;
181182
}
182183
183184
if(typeof packet.response.status !== "undefined" && packet.response.status >= 500)

0 commit comments

Comments
 (0)