Updated pastebin log api to return false in json if pastebin fails