[PR #7690] [MERGED] runner.go: Propagate panics back to the user. #12486

Closed
opened 2026-04-13 00:00:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7690
Author: @jessegross
Created: 11/15/2024
Status: Merged
Merged: 11/15/2024
Merged by: @jessegross

Base: mainHead: jessegross/panic


📝 Commits (1)

  • 14469bc runner.go: Propagate panics back to the user.

📊 Changes

1 file changed (+0 additions, -10 deletions)

View changed files

📝 llama/runner/runner.go (+0 -10)

📄 Description

This is a partial revert of 8a35bb92
"runner.go: Increase survivability of main processing loop", removing the panic handler.

Although we want to avoid errors taking down the runner, we also should make the user aware of problems when they happen. In the future, we can restructure things so both parts are true.


🔄 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/ollama/ollama/pull/7690 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 11/15/2024 **Status:** ✅ Merged **Merged:** 11/15/2024 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/panic` --- ### 📝 Commits (1) - [`14469bc`](https://github.com/ollama/ollama/commit/14469bcdea94f3e3f33b92c2f8d0f972b43cb601) runner.go: Propagate panics back to the user. ### 📊 Changes **1 file changed** (+0 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `llama/runner/runner.go` (+0 -10) </details> ### 📄 Description This is a partial revert of 8a35bb92 "runner.go: Increase survivability of main processing loop", removing the panic handler. Although we want to avoid errors taking down the runner, we also should make the user aware of problems when they happen. In the future, we can restructure things so both parts are true. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:00:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#12486