Refactoring of code

parent 7e9328fc
...@@ -212,7 +212,10 @@ export class QuizEntity extends AbstractEntity implements IQuizEntity { ...@@ -212,7 +212,10 @@ export class QuizEntity extends AbstractEntity implements IQuizEntity {
status: StatusProtocol.Success, status: StatusProtocol.Success,
step: MessageProtocol.Closed, step: MessageProtocol.Closed,
}))); })));
AMQPConnector.channel.deleteExchange(this._exchangeName); try {
AMQPConnector.channel.deleteExchange(this._exchangeName);
} catch {
}
} }
public reset(): void { public reset(): void {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment