Browse Source

chore: rm empty try-catch block (#2769)

Co-authored-by: Sandip Wane <[email protected]>
Sandip Wane 4 months ago
parent
commit
8fc6a25142
1 changed files with 0 additions and 3 deletions
  1. 0 3
      packages/opencode/src/index.ts

+ 0 - 3
packages/opencode/src/index.ts

@@ -22,9 +22,6 @@ import { AttachCommand } from "./cli/cmd/attach"
 
 
 const cancel = new AbortController()
 const cancel = new AbortController()
 
 
-try {
-} catch (e) {}
-
 process.on("unhandledRejection", (e) => {
 process.on("unhandledRejection", (e) => {
   Log.Default.error("rejection", {
   Log.Default.error("rejection", {
     e: e instanceof Error ? e.message : e,
     e: e instanceof Error ? e.message : e,