Skip to content

Commit 00ea102

Browse files
authored
Merge pull request #14 from matsn0w/matsn0w/issue13
fix: do not halt the script if a vcf file is not found
2 parents d02d569 + 37de28e commit 00ea102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/init.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ AddEventHandler('onResourceStart', function(name)
2323
local data = LoadResourceFile(GetCurrentResourceName(), 'xmlFiles/' .. Config.ELSFiles[i])
2424

2525
if data then ParseObjSet(data, Config.ELSFiles[i])
26-
else error('VCF file not found: ' .. Config.ELSFiles[i]) end
26+
else print('VCF file not found: ' .. Config.ELSFiles[i]) end
2727
end
2828

2929
-- send the ELS data to all clients

0 commit comments

Comments
 (0)