Skip to content

Commit 77361ee

Browse files
authored
fix: Add error handling (#352)
1 parent fd9c396 commit 77361ee

17 files changed

Lines changed: 481 additions & 149 deletions

File tree

ADRs/upgrading zig to 0.15

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Firstly repalce all usage of managed ArrayList/ArrayHashMap with unmanaged version where allocator is passed to each method when is needed and no to "init" method
2+
3+
4+
I've tried to update but there is way to many random errors, seems liek msot of them were caused by Zigar.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ npm link @mateuszjs/magic-render
3333
```
3434

3535
In the repo where you want to put local version of the package.
36-
Remember to build package to see an update!
36+
Remember to build package to see an update! To unlink call `npm unlink @mateuszjs/magic-render`
3737

3838
## Glossary
3939

integration-tests/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ async function test() {
143143
if (!font) throw Error('Unknown font id: ' + fontId)
144144
return font
145145
},
146+
captureError: (err: unknown) => console.error(err),
146147
isTest: false,
147148
disableMinaitures: false,
148149
})

0 commit comments

Comments
 (0)