zshell-img-tool | Error handling #107

Closed
opened 2026-05-27 22:15:20 +02:00 by Inorishio · 1 comment
Collaborator

Whenever either situation 1 or 2 occurs than push the original image straight to swappy.

  1. Config isn't being loaded or fails
  2. Flags aren't being passed
Whenever either situation 1 or 2 occurs than push the original image straight to swappy. 1) Config isn't being loaded or fails 2) Flags aren't being passed
Author
Collaborator

Error handling has been added. 6e43bac52b
When will it error:

  • Not all arguments are supplied to the binary
  • Config properties are missing in ~/.config/zshell/config.json

Fallback:
Made screenshot will directly be sent to swappy and all effects will be ignored.

The order for error handling is check arguments first than config properties.

Error handling has been added. [6e43bac52b](https://git.zach-dev.cc/zach/z-bar-qt/commit/6e43bac52b98ff4db99927c3bc42340cc53c3f94) When will it error: - Not all arguments are supplied to the binary - Config properties are missing in ~/.config/zshell/config.json Fallback: Made screenshot will directly be sent to swappy and all effects will be ignored. The order for error handling is check arguments first than config properties.
Inorishio added the enhancement label 2026-05-28 23:23:36 +02:00
Inorishio self-assigned this 2026-05-28 23:23:40 +02:00
Sign in to join this conversation.