# fix @embedFile\(""\) not giving a proper error · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/72ac37952e00184dbbf727fb3e7d3477d5637a87)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 72ac37952e00184dbbf727fb3e7d3477d5637a87

Requested commit: 72ac37952e00184dbbf727fb3e7d3477d5637a87

Commit: 72ac37952e00184dbbf727fb3e7d3477d5637a87

Tree: 9b153f8aafbd9ffd6da4e325440eea71447b9124

Author: r00ster91

Committer: r00ster91

## Message

```
fix @embedFile("") not giving a proper error

Currently, in a debug build of the compiler, `@embedFile("")` is a crash;
in a release build the compiler, `@embedFile("")` is "error: unable to open '': OutOfMemory".

```

## Parents

- [279ebabd7d8857393b893185c0d0108403c2edf2](https://git.cafe/gitcafe/zig/commit/279ebabd7d8857393b893185c0d0108403c2edf2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/72ac37952e00184dbbf727fb3e7d3477d5637a87?format=markdown)
