Comments (6)
So we need to wrap this in Lua's version of a try-catch block or something?
from lua.
I honestly have no idea, the function is already pcalled but the failure still stops the rest of the script from continuing to load the new file. We had a very brief conversation with Arcon about it on discord, but it didn't lead to any conclusion.
It's also possible that it's not solvable and it just goes in the "known issue" bin for when somebody comes asking across the issues and asks for support.
from lua.
This looks like the problem to me:
Line 321 in ed0eb98
user_pcall rethrows the error instead of eating it.
from lua.
Rright, I thought that was calling logger's error function but I see error()
is in fact being re-un-defined earlier.
Would a simple print()
be appropriate here in this case?
from lua.
I think I rely on that ending code execution and I'm not sure changing it at this point is worth the risk. I'll just add a bool that explicitly converts it to print.
from lua.
Closed by this!
from lua.
Related Issues (20)
- Strange Lua syntax in addons/libs/resources.lua HOT 4
- ROE addon exploit. HOT 5
- Battlemod: color codes should not breakup ability names (chatmon incompatibility) HOT 3
- Lue Core: target_index is always 0 HOT 10
- [Barfiller] Able to set y position in xml but not x position. HOT 5
- Returning true from `keyboard` event does not block input
- PointWatch Suggestion
- [Addon] [DistancePlus] Lua runtime error: DistancePlus/DistancePlus.lua:337: attempt to index local 'command'
- [AddOn] [JobChange] //jc RDM/WHM not recognized because uppercase isn't allowed in dual-job operand
- scoreboard crashes game. HOT 2
- Where are the lua functions defined? HOT 4
- 🤷♂️
- Lua code HOT 1
- [Addon] [findAll] Server-specific files HOT 3
- [AddOn][BLUAlert] BLUAlert going off when it sees Drakesbane in the chat log. HOT 3
- [SpellCheck] needs to be updated to use the unlearnable spells resource flag instead of having it's own exceptions list
- Itemizer doesnt see all bags as enabled, but they are. (Private Server) HOT 1
- [Addon][Treasury] - Auto-Drop unintended consequences with Auto-Pass HOT 3
- Yush ReadMe and online documentation have example macros with invalid targets
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua.