[PR #257] [CLOSED] Commands exit with status 1 when an error occurs #550

Closed
opened 2026-02-25 23:34:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/257
Author: @deanishe
Created: 8/6/2020
Status: Closed

Base: masterHead: fix/exit-on-error


📝 Commits (2)

  • dee0e93 Exit with non-zero status when add fails
  • b5a553e Explicit charset for MySQL connection

📊 Changes

11 files changed (+62 additions, -44 deletions)

View changed files

📝 internal/cmd/add.go (+5 -4)
📝 internal/cmd/check.go (+7 -4)
📝 internal/cmd/delete.go (+2 -2)
📝 internal/cmd/export.go (+3 -3)
📝 internal/cmd/import.go (+4 -4)
📝 internal/cmd/open.go (+16 -7)
📝 internal/cmd/pocket.go (+3 -3)
📝 internal/cmd/print.go (+2 -1)
📝 internal/cmd/root.go (+1 -1)
📝 internal/cmd/update.go (+9 -5)
📝 internal/database/mysql.go (+10 -10)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/257 **Author:** [@deanishe](https://github.com/deanishe) **Created:** 8/6/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/exit-on-error` --- ### 📝 Commits (2) - [`dee0e93`](https://github.com/go-shiori/shiori/commit/dee0e93142e8912abbd96de4262569b8ce6dbe37) Exit with non-zero status when add fails - [`b5a553e`](https://github.com/go-shiori/shiori/commit/b5a553e9210019ddea6d07e411808ccfa9c8fd55) Explicit charset for MySQL connection ### 📊 Changes **11 files changed** (+62 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `internal/cmd/add.go` (+5 -4) 📝 `internal/cmd/check.go` (+7 -4) 📝 `internal/cmd/delete.go` (+2 -2) 📝 `internal/cmd/export.go` (+3 -3) 📝 `internal/cmd/import.go` (+4 -4) 📝 `internal/cmd/open.go` (+16 -7) 📝 `internal/cmd/pocket.go` (+3 -3) 📝 `internal/cmd/print.go` (+2 -1) 📝 `internal/cmd/root.go` (+1 -1) 📝 `internal/cmd/update.go` (+9 -5) 📝 `internal/database/mysql.go` (+10 -10) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#550
No description provided.