Altinn / Altinn/app-lib-dotnet
Improve error message for missing globalisation info
- Dominant language
- C#
- Stars
- 8
- Forks
- 27
- Avg merge
- 1h 21m
- Merged PRs (30d)
- 7
Description
### Description
https://github.com/Altinn/app-lib-dotnet/pull/792 uses Timezone and culture info to prepare the footer for pdf generation. The error message has been tested and found confusing

https://altinn.slack.com/archives/C02EJ9HKQA3/p1730974233119229
Ideally it should be a startup validation, but as we don't have the proper place for that (yet) the minimum would be to catch the exception and log something that helps the user understand what they did wrong.
### Additional Information
_No response_
### Tasks
_No response_
### Acceptance Criterias
_No response_
Contributor guide
Research direction
Start by reviewing PR 792 and the code path that uses timezone and culture information during PDF footer generation. Identify where the exception is raised and determine the existing logging path. Done means the failure explains which globalisation configuration is missing and helps the user understand how to correct it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100