schoefmann / klarlack

klarlack is a ruby client library for the varnish administration interface. It allows, among other things, purging of cached objects from ruby code.
http://github.com/schoefmax/klarlack
MIT License
73 stars 9 forks source link

Varnish::Error is not defined #1

Closed grosser closed 14 years ago

grosser commented 14 years ago

e.g. purge wit a invalid regex and this error appears

schoefmann commented 14 years ago

I can't reproduce this one here. Are you on 1.9 already?

I'have moved the definition of Varnish::Error in the same file as the client - maybe that solves the issue for you.

grosser commented 14 years ago

thanks, ill give it a try :> (were on 1.8.6)

grosser commented 14 years ago

it works, thanks! :)