love.graphics.setColor(nil, nil, nil, nil) will cause LOVE (v11.1) to exit with no error handler callback in my code.
Anyone know why this might not propagate an error correctly?
Cheers, as always.
love.graphics.setColor(nil, nil, nil, nil) [Solved]
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Party member
- Posts: 134
- Joined: Tue Mar 29, 2011 11:05 pm
love.graphics.setColor(nil, nil, nil, nil) [Solved]
Last edited by drunken_munki on Mon May 21, 2018 10:55 am, edited 3 times in total.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: love.graphics.setColor(nil, nil, nil, nil)
Doesn't for me, but if you trigger an error in an error handler love prevents an infinite loop and only prints the error to the terminal. Do you also have a custom error handler?
-
- Party member
- Posts: 134
- Joined: Tue Mar 29, 2011 11:05 pm
Re: love.graphics.setColor(nil, nil, nil, nil)
Ah you might be right.
I'm using an example from the wiki that I modified to print out to a custom log file. I just commented this out and the default error handler works fine!
Thanks for that, I will check what is causing me the issue in my code.
Turns out I had a typo in my error handler code, all better now.
I'm using an example from the wiki that I modified to print out to a custom log file. I just commented this out and the default error handler works fine!
Thanks for that, I will check what is causing me the issue in my code.
Turns out I had a typo in my error handler code, all better now.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest