mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Add missing error causes
This commit is contained in:
@@ -100,7 +100,8 @@ export class NotificationSubscriber extends OperationHttpHandler {
|
||||
});
|
||||
channel = await this.channelType.initChannel(await readableToQuads(quadStream.data), credentials);
|
||||
} catch (error: unknown) {
|
||||
throw new UnprocessableEntityHttpError(`Unable to process notification channel: ${createErrorMessage(error)}`);
|
||||
throw new UnprocessableEntityHttpError(`Unable to process notification channel: ${createErrorMessage(error)}`,
|
||||
{ cause: error });
|
||||
}
|
||||
|
||||
if (this.maxDuration) {
|
||||
|
||||
Reference in New Issue
Block a user