block / block/stoic

Handle exception from getEmbeddedPlugins gracefully

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
140
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Currently `StoicConfig.getEmbeddedPlugins` is called prior to setting up stdin/stdout/stderr. So if it throws, we can't show the exception in stderr. You can still see it in logcat, but it would be better to have it in stderr.

Contributor guide

Open the contributing guide

Research direction

Trace the startup path around StoicConfig.getEmbeddedPlugins and the setup of stdin, stdout, and stderr. Reproduce an exception from getEmbeddedPlugins and compare the current logcat behavior with the desired result. Done means the exception is also shown through stderr when plugin setup fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.