Describe the bug
Currently the app is not very resilient to incorrect data within the config.toml configuration file.
To Reproduce
Steps to reproduce the behavior:
Edit the .wingocmmander/config.toml file.
Alter any string type parameter (i.e. apikiey, admin) to not be enclosed in " " (double quotes)
Save the changes
Run Wing Commander (.wcbot)
The error will be reported.
Expected behavior
Fine for an error to still be reported, but preferably it will be one that allows the user to self-help. The error message should provide sufficient detail that the user knows what the problem is and has the ability to fix it without requiring assistance.
While this may not be possible in all cases - its what we should be targeting.
Describe the bug Currently the app is not very resilient to incorrect data within the
config.toml
configuration file.To Reproduce Steps to reproduce the behavior:
.wingocmmander/config.toml
file.string
type parameter (i.e.apikiey
,admin
) to not be enclosed in " " (double quotes)Wing Commander
(.wcbot
)Expected behavior Fine for an error to still be reported, but preferably it will be one that allows the user to self-help. The error message should provide sufficient detail that the user knows what the problem is and has the ability to fix it without requiring assistance.
While this may not be possible in all cases - its what we should be targeting.
Screenshots NA
Additional context Low priority. Fix when we can