Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/meteor/app/meteor-accounts-saml/server/lib/SAML.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const showErrorMessage = function (res: ServerResponse, err: string): void {
res.writeHead(200, {
'Content-Type': 'text/html',
});
const content = `<html><body><h2>Sorry, an annoying error occured</h2><div>${escapeHTML(err)}</div></body></html>`;
const content = `<html><body><h2>Sorry, an annoying error occurred</h2><div>${escapeHTML(err)}</div></body></html>`;
res.end(content, 'utf-8');
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class IncomingSipCall extends BaseSipCall {

logger.debug({ msg: 'modify', method: 'IncomingSipCall.createDialog', req: this.session.stripDrachtioServerDetails(req) });
} catch (err) {
logger.error({ msg: 'An unexpected error occured while processing a modify event on an IncomingSipCall dialog', err });
logger.error({ msg: 'An unexpected error occurred while processing a modify event on an IncomingSipCall dialog', err });

try {
res.send(SipErrorCodes.INTERNAL_SERVER_ERROR);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class OutgoingSipCall extends BaseSipCall {

logger.debug({ msg: 'modify', method: 'OutgoingSipCall.createDialog', req: this.session.stripDrachtioServerDetails(req) });
} catch (err) {
logger.error({ msg: 'An unexpected error occured while processing a modify event on an OutgoingSipCall dialog', err });
logger.error({ msg: 'An unexpected error occurred while processing a modify event on an OutgoingSipCall dialog', err });

try {
res.send(SipErrorCodes.INTERNAL_SERVER_ERROR);
Expand Down
2 changes: 1 addition & 1 deletion packages/apps-engine/src/server/AppManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export class AppManager {

if (AppStatusUtils.isDisabled(await rl.getStatus())) {
// Usually if an App is disabled before it's initialized,
// then something (such as an error) occured while
// then something (such as an error) occurred while
// it was compiled or something similar.
// We still have to validate its license, though
await rl.validateLicense();
Expand Down
2 changes: 1 addition & 1 deletion packages/apps-engine/src/server/errors/CompilerError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export class CompilerError implements Error {
public message: string;

constructor(detail: string) {
this.message = `An error occured while compiling an App: ${detail}`;
this.message = `An error occurred while compiling an App: ${detail}`;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export class CompilerErrorTestFixture {
const er = new CompilerError('syntax');

Expect(er.name).toBe('CompilerError');
Expect(er.message).toBe('An error occured while compiling an App: syntax');
Expect(er.message).toBe('An error occurred while compiling an App: syntax');
}
}
2 changes: 1 addition & 1 deletion packages/media-signaling/src/lib/Call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ export class ClientMediaCall implements IClientMediaCall {
break;
}
} catch (e) {
this.config.logger?.error('An error occured while reviewing the webrtc connection state change', e);
this.config.logger?.error('An error occurred while reviewing the webrtc connection state change', e);
}
}

Expand Down