Comments (4)
Not sure if this should be part of this (or if it's even possible) but could this happen before the daemon backgrounded itself? And thus exit with a non-zero so I could detect it in the init script or runit or whatever? Any sort of other pre flight might be helpful too.
from lita.
somewhat related, when I ran the tests on a handler with the latest lita (4.0.2), all the tests would fail. Finally tracked it down to no redis. The error wasn't great (SystemExit) and I couldn't find any log to speak of. Maybe in test mode there needs to be a better error message sent to STDERR because there might not be a log file to write too?
from lita.
Yes, that's a good idea. Ideally I'd also like to make a Redis connection optional for testing, since many plugins don't even use it at all.
from lita.
Or use something like mock_redis
(https://github.com/causes/mock_redis) to just setup a dummy redis in ruby
from lita.
Related Issues (20)
- send_messages to a room does not work with hipchat HOT 1
- Overriding the default help command HOT 3
- Allow to restrict authorization at the plugin level. HOT 2
- Multiple handlers under namespace block configuration HOT 4
- Proxy
- Custom Handler not loading HOT 4
- Handle the interactive message callback HOT 1
- Hipchat v1 api support removed, any plugin with v2 support ? HOT 1
- Adding HTTP URL for adapters HOT 3
- passthrough has been deprecated log spam HOT 1
- TLS issue HOT 1
- my redis requires user and password, how to set in config? HOT 2
- http.post handler not routing - 404 not found HOT 7
- Lita bot status HOT 7
- New release? HOT 1
- Incorrect I18n.locale inside route HOT 5
- Error when require "lita/rspec" HOT 1
- Redis namespace should be configurable
- Disabling Rack App
- Lita does not mute logger during spec runs HOT 1
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 lita.