Skip to content

Commit

Permalink
Fix Adyen#22 PW-2743 Show error on 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Rune Laenen committed Aug 11, 2020
1 parent d8fe558 commit 24ff278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
Shopware.Msg.createGrowlMessage('success', value.responseText)
},
failure: function (response) {
var value = Ext.decode(response.responseText);
if (response.status === 404) {
Shopware.Msg.createGrowlMessage('Plugin Manager', 'Please activate plugin before testing.');
} else {
var value = Ext.decode(response.responseText);
Shopware.Msg.createGrowlMessage('failure', value.responseText)
}
}
Expand Down

0 comments on commit 24ff278

Please sign in to comment.