Skip to content

Commit ac6d795

Browse files
committed
fix: use generic error messages for DocMDP configuration\n\nChanged error messages for loading and saving configuration to be more generic and user-friendly.
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 6812273 commit ac6d795

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/views/Settings/DocMDP.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default {
102102
}
103103
} catch (error) {
104104
console.error('Error loading DocMDP configuration:', error)
105-
this.errorMessage = t('libresign', 'Failed to load DocMDP configuration')
105+
this.errorMessage = t('libresign', 'Could not load configuration.')
106106
}
107107
},
108108
onEnabledChange(value) {
@@ -147,7 +147,7 @@ export default {
147147
} catch (error) {
148148
console.error('Error saving DocMDP configuration:', error)
149149
this.errorMessage = error.response?.data?.ocs?.data?.error
150-
|| t('libresign', 'Failed to save DocMDP configuration')
150+
|| t('libresign', 'Could not save configuration.')
151151
this.showErrorIcon = true
152152
setTimeout(() => {
153153
this.showErrorIcon = false

0 commit comments

Comments
 (0)