You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
if there is an exception in the createAssetInternal function called in the create function of the asset.service, there is an error message saying that the error was not managed/catch.
To Reproduce
Steps to reproduce the behavior:
Simply make the createAssetInternal function throw when calling create
Expected behavior
This error should be managed, the create function should reject.
You can fix that by adding a Try/catch in the create function around createAssetInternal and reject in the catch
Environment (please complete the following information):
@vendure/core version: 1.3.2
Nodejs : 14.17
Database postgres
The text was updated successfully, but these errors were encountered:
Describe the bug
if there is an exception in the
createAssetInternal
function called in thecreate
function of the asset.service, there is an error message saying that the error was not managed/catch.To Reproduce
Steps to reproduce the behavior:
createAssetInternal
function throw when calling createExpected behavior
This error should be managed, the
create
function should reject.You can fix that by adding a Try/catch in the create function around
createAssetInternal
and reject in the catchEnvironment (please complete the following information):
The text was updated successfully, but these errors were encountered: