Skip to content

Commit

Permalink
Added job error message detail using HTML formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Jan 10, 2024
1 parent 2617eae commit 11229cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/JobInformation/JobInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const runTime = computed(() =>
const jobIsTerminal = computed(() => job.value && !JOB_STATES_MODEL.NON_TERMINAL_STATES.includes(job.value.state));
const metadataDetail = ref({
exit_code:
"Tools may use exit codes to indicate specific execution errors. Many programs use 0 to indicate success and non-zero exit codes to indicate errors. Galaxy allows each tool to specify exit codes that indicate errors. https://docs.galaxyproject.org/en/master/dev/schema.html#tool-stdio-exit-code",
exit_code: `Tools may use exit codes to indicate specific execution errors. Many programs use 0 to indicate success and non-zero exit codes to indicate errors. Galaxy allows each tool to specify exit codes that indicate errors. https://docs.galaxyproject.org/en/master/dev/schema.html#tool-stdio-exit-code`,
error_level: `NO_ERROR = 0</br>LOG = 1</br>QC = 1.1</br>WARNING = 2</br>FATAL = 3</br>FATAL_OOM = 4</br>MAX = 4`,
});
function updateJob(fromProvider) {
Expand Down Expand Up @@ -114,7 +114,7 @@ function filterMetadata(jobMessages) {
<li v-for="(value, name, i) in message" :key="i">
<span
v-if="metadataDetail[name]"
v-b-tooltip.hover
v-b-tooltip.html
class="tooltipJobInfo"
:title="metadataDetail[name]"
><strong>{{ name }}:</strong></span
Expand Down

0 comments on commit 11229cd

Please sign in to comment.