Improve bad replacement quest error messaging
This commit is contained in:
parent
914d505adc
commit
57b1fe0733
@ -397,7 +397,9 @@ export class RepeatableQuestController
|
|||||||
let output = this.eventOutputHolder.getOutput(sessionID);
|
let output = this.eventOutputHolder.getOutput(sessionID);
|
||||||
if (!repeatableToChange)
|
if (!repeatableToChange)
|
||||||
{
|
{
|
||||||
return this.httpResponse.appendErrorToOutput(output, "Unable to find repeatable quest to replace");
|
const message = "Unable to find repeatable quest to replace";
|
||||||
|
this.logger.error(message);
|
||||||
|
return this.httpResponse.appendErrorToOutput(output, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Charge player money for replacing quest
|
// Charge player money for replacing quest
|
||||||
|
Loading…
Reference in New Issue
Block a user