Throw error for server start

Signed-off-by: Vishal Rana <vr@labstack.com>