Skip to content

Commit

Permalink
Fix fail require js to load scripts in case error during fastlane ins…
Browse files Browse the repository at this point in the history
…tance creation.
  • Loading branch information
NickolasMalovanets committed Jul 18, 2024
1 parent 77ba8a6 commit 631be91
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions view/frontend/web/js/model/fastlane.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,7 @@ define([], function () {
return window.boldFastlaneInstance;
} catch (e) {
window.boldFastlaneInstanceCreateInProgress = false;
throw new Error(
e.responseJSON && e.responseJSON.errors[0] ? e.responseJSON.errors[0].message : e.message
);
return null;
}
},

Expand Down

0 comments on commit 631be91

Please sign in to comment.