Skip to content

Commit

Permalink
Merge 62b8b42 into 76afbb1
Browse files Browse the repository at this point in the history
  • Loading branch information
acdha committed May 24, 2019
2 parents 76afbb1 + 62b8b42 commit f139f38
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions concordia/static/js/action-app/index.js
Expand Up @@ -978,17 +978,21 @@ export class ActionApp {
this.updateViewer();
})
.fail((jqXHR, textStatus, errorThrown) => {
console.error(
'Unable to reserve asset: %s %s',
textStatus,
errorThrown
);
if (jqXHR.status != 409) {
console.error(
'Unable to reserve asset: %s %s',
textStatus,
errorThrown
);

this.reportError(
'reservation',
`Unable to reserve asset`,
errorThrown ? `${textStatus}: ${errorThrown}` : textStatus
);
this.reportError(
'reservation',
`Unable to reserve asset`,
errorThrown
? `${textStatus}: ${errorThrown}`
: textStatus
);
}

this.assetReserved = false;
this.updateViewer();
Expand Down

0 comments on commit f139f38

Please sign in to comment.