Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Saelmala committed Nov 7, 2024
1 parent 686d0bb commit 3d7cfd2
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,12 @@ export async function createPipelineHtmlSource(
Log().warn('Unexpected content for 201 response:', text);
}
Log().info('SUCCESSFUL CREATION OF HTML SOURCE');
} else if (response.status === 400 || response.status === 404 || response.status === 500) {
Log().info("ERROR WHEN CREATING AN HTML SOURCE");
} else if (
response.status === 400 ||
response.status === 404 ||
response.status === 500
) {
Log().info('ERROR WHEN CREATING AN HTML SOURCE');
try {
const errorResponse = JSON.parse(text);
Log().error('API error response:', errorResponse);
Expand Down Expand Up @@ -368,7 +372,7 @@ export async function createPipelineMediaSource(
}
Log().info('SUCCESSFULLY CREATED MEDIA SOURCE');
} else if (response.status === 400 || response.status === 500) {
Log().info("ERROR WHEN CREATING A MEDIA SOURCE");
Log().info('ERROR WHEN CREATING A MEDIA SOURCE');
try {
const errorResponse = JSON.parse(text);
Log().error('API error response:', errorResponse);
Expand Down

0 comments on commit 3d7cfd2

Please sign in to comment.