Skip to content

Commit

Permalink
remove debugging code and a redundant if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Oct 2, 2024
1 parent d35794f commit 5840930
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ export function fetchAll(requests: MatomoRequestParams[], options: ApiFetchOptio
responses = getServices().UrlFetchApp.fetchAll(urlsToFetch);
} catch (e) {
const errorMessage = e.message || e;
console.log(errorMessage);

// throw user friendly error messages if possible
if (isUrlFetchErrorQuotaLimitReachedError(errorMessage)) {
Expand Down
5 changes: 0 additions & 5 deletions tests/appscript/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,6 @@ describe('api', () => {
return;
}

if (!process.env.USE_LOCALTUNNEL) {
console.log('*** SKIPPING TEST ***');
return;
}

server = makeApiFailureMockServer(3000);

await waitForMockServer();
Expand Down

0 comments on commit 5840930

Please sign in to comment.