Refactor safe_read
Make safe_read a bit more flexible,and allow it to catch a wider number of errors.
This commit is contained in:
parent
d088a6baf0
commit
e02c6df3ed
2 changed files with 59 additions and 44 deletions
|
@ -361,7 +361,9 @@
|
|||
{"CDB19",
|
||||
{info, "Sample timings in microseconds for sample_count=~w "
|
||||
++ "with totals of cycle_count=~w "
|
||||
++ "fetch_time=~w index_time=~w"}}
|
||||
++ "fetch_time=~w index_time=~w"}},
|
||||
{"CDB20",
|
||||
{error, "Error ~w caught when safe reading a file to length ~w"}}
|
||||
]).
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue