Skip to content
Snippets Groups Projects
Commit dd916308 authored by Malte Bauch's avatar Malte Bauch
Browse files

A panic within `createCsbiDevice` does not result in a crash

- Removed Goroutine in `createCsbiDevice` and calls of `panic()` have been
  changed to `return err`
- `createCsbiDevice` is now called as Goroutine from within the
  `handleCsbiEnrolment` method.
- Error handling is done by using a `ErrorGroup`

These changes prevent that panics are thrown from a Goroutine that was
originally called from `createCsbiDevice`. Now normal errors are thrown
and catched with the help of a `ErrorGroup`.

Fixes: #171
parent 32aa1a4e
Branches
Tags
2 merge requests!249Resolve "The Goroutine called in `createCsbiDevice` can panic",!247Develop
Pipeline #97231 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment