Skip to content

Commit

Permalink
chore: improve error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuisi authored and Kha committed Oct 13, 2023
1 parent b534878 commit d0ae87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Server/FileWorker.lean
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ section Initialization
paths.srcPath.mapM realPathNormalized
| 2 => pure [] -- no lakefile.lean
-- error from `--no-build`
| 3 => throwServerError s!"Imports are out of date and must be rebuilt; use the \"Refresh File Dependencies\" command in your editor\n\n{stdout}"
| 3 => throwServerError s!"Imports are out of date and must be rebuilt; use the \"Restart File\" command in your editor.\n\n{stdout}"
| _ => throwServerError s!"`{cmdStr}` failed:\n{stdout}\nstderr:\n{stderr}"

def compileHeader (m : DocumentMeta) (hOut : FS.Stream) (opts : Options) (hasWidgets : Bool)
Expand Down

0 comments on commit d0ae87d

Please sign in to comment.