Skip to content

Commit

Permalink
build: add new env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ewan-escience committed Feb 23, 2024
1 parent 7bc755b commit f1d7e2b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2022 - 2023 Ewan Cahen (Netherlands eScience Center) <[email protected]>
# SPDX-FileCopyrightText: 2022 - 2023 Netherlands eScience Center
# SPDX-FileCopyrightText: 2022 - 2024 Christian Meeßen (GFZ) <[email protected]>
# SPDX-FileCopyrightText: 2022 - 2024 Ewan Cahen (Netherlands eScience Center) <[email protected]>
# SPDX-FileCopyrightText: 2022 - 2024 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
# SPDX-FileCopyrightText: 2022 - 2024 Netherlands eScience Center
# SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all)
# SPDX-FileCopyrightText: 2022 Helmholtz Centre for Environmental Research (UFZ)
# SPDX-FileCopyrightText: 2022 dv4all
Expand Down Expand Up @@ -150,6 +150,7 @@ services:
- MAX_REQUESTS_GITHUB
- MAX_REQUESTS_GITLAB
- API_CREDENTIALS_GITHUB
- MAX_REQUESTS_ROR
- ZENODO_ACCESS_TOKEN
- MAX_REQUESTS_DOI
- CROSSREF_CONTACT_EMAIL
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ services:
- PGRST_JWT_SECRET
- MAX_REQUESTS_GITHUB
- MAX_REQUESTS_GITLAB
- MAX_REQUESTS_ROR
- API_CREDENTIALS_GITHUB
- ZENODO_ACCESS_TOKEN
- MAX_REQUESTS_DOI
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private static void scrapeLocationData() {
}
} catch (Exception e) {
Utils.saveExceptionInDatabase("ROR location scraper", tableName, organisation.id(), e);
Utils.saveErrorMessageInDatabase("Unkown error", tableName, columnName, organisation.id().toString(), primaryKeyName, scrapedAt, scrapedAtName);
Utils.saveErrorMessageInDatabase("Unknown error", tableName, columnName, organisation.id().toString(), primaryKeyName, scrapedAt, scrapedAtName);
}
});
futures[i] = future;
Expand Down

0 comments on commit f1d7e2b

Please sign in to comment.