print dir name on failure to write to cache dir

closes #2429
This commit is contained in:
Andrew Kelley 2019-07-02 16:10:22 -04:00
parent 04b32d6a8a
commit b05b5649df
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -9598,7 +9598,7 @@ void codegen_build_and_link(CodeGen *g) {
fprintf(stderr, "Unable to check cache: %s is not a directory\n",
buf_ptr(manifest_dir));
} else {
fprintf(stderr, "Unable to check cache: %s\n", err_str(err));
fprintf(stderr, "Unable to check cache: %s: %s\n", buf_ptr(manifest_dir), err_str(err));
}
exit(1);
}