View Issue Details

IDProjectCategoryView StatusLast Update
0034613mantisbtbugtrackerpublic2024-09-07 10:43
Reporterdregad Assigned Todregad  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Target Version2.27.0Fixed in Version2.27.0 
Summary0034613: Include additional details on Generic error message
Description

We sometimes use ERROR_GENERIC for unexpected errors, or in cases where it's not worth defining a specific error code and associated language string (e.g. errors that are only likely to be encountered by developers or administrators at system setup time).

In some cases, it would be useful if we could provide additional information with the error, to help fixing the problem.

TagsNo tags attached.

Activities

Related Changesets

MantisBT: master 09846e5e

2023-09-30 12:47

dregad


Details Diff
Allow display of additional info for ERROR_GENERIC

Define new ERROR_GENERIC_DETAILS constant, and modify error_string() to
append it to the error message when processing ERROR_GENERIC and an
error parameter was given.

Fixes 0034613
Affected Issues
0034613
mod - core/constant_inc.php Diff File
mod - core/error_api.php Diff File
mod - lang/strings_english.txt Diff File