Skip to content

Commit

Permalink
Merge branch 'main' into action-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed May 24, 2024
2 parents 16f5d96 + 9472375 commit 24ffbe5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/util/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import y18n from 'y18n';
import { getLocalFilePath } from './fileutil.js';
const locale = nconf.get('localization:defaultLocale');
const directory =
nconf.get('localization:directory') || getLocalFilePath('./locale');
nconf.get('localization:directory') || getLocalFilePath('../../locales');

const myy18n = y18n({ updateFiles: false, locale, directory });

Expand Down
1 change: 1 addition & 0 deletions testrunner/src/testrunners/docker-testrunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default async function runJob(job) {
};
} catch (error) {
logger.error('Failed to execute job: %s', error.message, job.data.url);
job.log('Job failed:' + error.message);
await cleanupWorkingDirectory(workingDirectory, logger);
throw error;
}
Expand Down
1 change: 1 addition & 0 deletions testrunner/src/testrunners/testrunner.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export default async function runJob(job) {
}
} catch (error) {
logger.error('Job execution failed: %s', error.message);
job.log('Job failed:' + error.message);
throw error;
} finally {
if (workingDirectory) {
Expand Down

0 comments on commit 24ffbe5

Please sign in to comment.