Skip to content

Commit f09e0f3

Browse files
committed
Run smoke tests for connectivity purposes
1 parent be4f801 commit f09e0f3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

api/src/infrastructure/monitoring/health.controller.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,9 @@ export class HealthController {
2727
? { status: 'OK' }
2828
: { status: 'KO' };
2929
}
30+
31+
@Get('/ping')
32+
async ping(): Promise<{ status: string }> {
33+
return { status: 'ok' };
34+
}
3035
}

webapp/components/url-shortener/hooks/useURLShortener.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const useURLShortener = () => {
1616
setMode('shortened');
1717
} catch (error) {
1818
setError('An error occurred while shortening the URL');
19+
console.error('An error occurred while shortening the URL', error);
1920
} finally {
2021
setLoading(false);
2122
}

0 commit comments

Comments
 (0)