Fix bug with server method error stack