mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-10 04:22:27 +10:00
ci: 🐛 log error to console
This commit is contained in:
@ -6,6 +6,7 @@ import {
|
|||||||
Delete,
|
Delete,
|
||||||
Get,
|
Get,
|
||||||
InternalServerErrorException,
|
InternalServerErrorException,
|
||||||
|
Logger,
|
||||||
Param,
|
Param,
|
||||||
Patch,
|
Patch,
|
||||||
Post,
|
Post,
|
||||||
@ -125,10 +126,8 @@ export class ResumeController {
|
|||||||
|
|
||||||
return { url };
|
return { url };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new InternalServerErrorException(ErrorMessage.ResumePrinterError, {
|
Logger.error(error);
|
||||||
cause: error,
|
throw new InternalServerErrorException(error);
|
||||||
description: error.message,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,10 +140,8 @@ export class ResumeController {
|
|||||||
|
|
||||||
return { url };
|
return { url };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
throw new InternalServerErrorException(ErrorMessage.ResumePreviewError, {
|
Logger.error(error);
|
||||||
cause: error,
|
throw new InternalServerErrorException(error);
|
||||||
description: error.message,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user