Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Weltraumschaf
Copy link
Member

Description

For Newbies it is quite cumbersome to fiddle out what argument and/or env var to configure where and when while setting up dev environment. For that reason I improved error handling and messages.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure that all your commits are signed-off and that you are added to the Contributors file.
  • Make sure that all CI finish successfully.
  • Optional (but appreciated): Make sure that all commits are Verified.

@Weltraumschaf Weltraumschaf self-assigned this Jan 7, 2025
Copy link

netlify bot commented Jan 7, 2025

Deploy Preview for docs-securecodebox canceled.

Name Link
🔨 Latest commit 0be20ca
🔍 Latest deploy log https://app.netlify.com/sites/docs-securecodebox/deploys/67a5dd6a0a53ab000812baa3

@Weltraumschaf Weltraumschaf added persistence Implement or update a persistence store hook Implement or update a hook java Pull requests that update Java code labels Jan 7, 2025
@Weltraumschaf Weltraumschaf requested a review from J12934 January 15, 2025 14:57
Signed-off-by: Sven Strittmatter <[email protected]>
Signed-off-by: Sven Strittmatter <[email protected]>
Signed-off-by: Sven Strittmatter <[email protected]>
Signed-off-by: Sven Strittmatter <[email protected]>
Since the error handling of Kubernetes lib and the used YAML parser lib
is quite shitty the resulting error message is not very precise.
The problem is that e.g. for empty file they just throw an NPE on a
underlying Map<>. For bad format it just throw random errors such as
class cast excpetions.

Signed-off-by: Sven Strittmatter <[email protected]>
Signed-off-by: Sven Strittmatter <[email protected]>
Signed-off-by: Sven Strittmatter <[email protected]>
Signed-off-by: Sven Strittmatter <[email protected]>
@Weltraumschaf Weltraumschaf force-pushed the improve_error_handling branch from 4ca8be1 to 0be20ca Compare February 7, 2025 10:16
Copy link

sonarqubecloud bot commented Feb 7, 2025

@Weltraumschaf Weltraumschaf enabled auto-merge (rebase) February 7, 2025 10:17
@Weltraumschaf Weltraumschaf merged commit 53d5779 into secureCodeBox:main Feb 7, 2025
53 checks passed
@Weltraumschaf Weltraumschaf deleted the improve_error_handling branch February 7, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hook Implement or update a hook java Pull requests that update Java code persistence Implement or update a persistence store
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants