Development #20

Merged
bones7242 merged 2 commits from development into development 2017-06-05 19:54:19 +02:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 98e18561d0 - Show all commits

View file

@ -39,8 +39,8 @@
<option value="false">False</option> <option value="false">False</option>
<option value="true">True</option> <option value="true">True</option>
</select> </select>
<br/> <p><i>By clicking 'Publish' I attest that I have read and agree to the <a href="https://lbry.io/termsofservice" target="_blank">LBRY terms of service</a>.</i></p>
<button id="publish-submit">Submit</button> <button id="publish-submit">Publish</button>
</form> </form>
</div> </div>
</section> </section>

View file

@ -34,7 +34,7 @@ module.exports = function(app){
res.status(200).sendFile(filePath); res.status(200).sendFile(filePath);
}) })
.catch(function(error){ .catch(function(error){
console.log("/:name/:claim_id error.") console.log("/:name/:claim_id error:", error)
routeHelpers.handleRequestError(error, res); routeHelpers.handleRequestError(error, res);
}); });
}); });
@ -47,7 +47,7 @@ module.exports = function(app){
console.log("/:name success.") console.log("/:name success.")
res.status(200).sendFile(filePath); res.status(200).sendFile(filePath);
}).catch(function(error){ }).catch(function(error){
console.log("/:name error."); console.log("/:name error:", error);
routeHelpers.handleRequestError(error, res); routeHelpers.handleRequestError(error, res);
}); });
}); });