---
title: "Discussion on \"Hapi error logging\" | Hashnode"
description: "Discussion on \"Hapi error logging\". It was so annoying - there I was trying to test my hapi server but it was broken and I had no idea why. Because I was using server.inject the errors where not being shown in the console. How do I log the error messages from a stub server?\nsuite('getB..."
url: "https://hashnode.com/posts/hapi-error-logging/625d3866740c26066de65e0a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hapi error logging](https://iampeterbanjo.com/hapi-error-logging?utm_source=hashnode&utm_medium=feed)

It was so annoying - there I was trying to test my hapi server but it was broken and I had no idea why. Because I was using server.inject the errors where not being shown in the console. How do I log the error messages from a stub server? suite('getB...

Jul 23, 2019 · 1 min read · iampeterbanjo.com  
Updated Apr 28, 2022  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#logging](https://hashnode.com/tag/logging)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)
-   [#hapijs](https://hashnode.com/tag/hapijs)

## Written by

[Peter Banjo](https://hashnode.com/@iampeterbanjo)

@iampeterbanjo · United Kingdom

  
[View profile](https://hashnode.com/@iampeterbanjo)

Father, husband, cosmopolitan geek and music lover. Learning how to build beautiful things.

I build meaningful software by empathising with design, development and business needs. My interests are test automation, functional programming and full-stack web development using NodeJS and other tools.

## Responses

Markdown supported · ⌘↵ to post

[zgd](https://hashnode.com/@zhaoguodong)

[Feb 18, 2025](https://hashnode.com/posts/hapi-error-logging/625d3866740c26066de65e0a/comment/67b4201ac4a6cdb60d9de360)

We sincerely wish to purchase a well-established large-scale Multiplayer Online Role-Playing Game (MMORPG) mobile game developed by a reputable company. We intend to use it for study and research purposes in Asia. As a gesture of good faith, we are willing to pay a deposit upfront.If your friend has access to game source code, please let them know that I'll reward you for the referral.Interested parties, please contact me Discord:q791864008q\_gmail\_com Telegram:q791864008q\_gmail\_com EMail:q791864008q@gmail.com
