Skip to content

Releases: samsonasik/ErrorHeroModule

1.5.0

20 Feb 00:46
1.5.0
e335492

Choose a tag to compare

Build Status Coverage Status PHPStan

Added 'enable-error-preview-page' config to enable/disable sample error-preview pages.

The config is under 'error-hero-module' key.

return [

    'log' => [ /* log configs */],

    'error-hero-module' => [
        'enable' => true,

         // default to true, if set to true, then you can see sample:
        // 1. /error-preview page ( ErrorHeroModule\Controller\ErrorPreviewController )
        // 2. error-preview command (ErrorHeroModule\Controller\ErrorPreviewConsoleController) via
        //       php public/index.php error-preview
        //
        // otherwise(false), you can't see them, eg: on production env.
        'enable-error-preview-page' => true,

         //... other configs here
    ],

];

1.4.3

11 Feb 22:59
1.4.3
8dbc5e2

Choose a tag to compare

  • using application/problem+json for json content-type for XMLHttpRequest

1.4.2

28 Jan 11:47
1.4.2
3bf6b4a

Choose a tag to compare

Build Status Coverage Status PHPStan

  • handle cannot connect to db in the first place

1.4.1

05 Jan 12:23
1.4.1
6765419

Choose a tag to compare

Build Status Coverage Status

  • include basename(getcwd()) and get_current_user() into console info

1.4.0

05 Jan 06:36
1.4.0
d3f2385

Choose a tag to compare

Build Status Coverage Status

[#6] Better Console information with include scriptname and args

1.3.1

04 Jan 13:48
1.3.1
a056976

Choose a tag to compare

Build Status Coverage Status

  • Fixes missing set statuscode = 500 on error page
  • Define application/json Content-type for XmlHttpRequest whenever error message is a json

1.3.0

29 Dec 18:33
1.3.0
ceaea1e

Choose a tag to compare

Build Status Coverage Status

  • use json with pretty print format for mail log

1.2.0

12 Dec 06:59
1.2.0
39b7aa2

Choose a tag to compare

Build Status Coverage Status

added response content definition config for XmlHttpRequest request via 'ajax' configuration under display-settings config.

1.1.6

02 Dec 22:51
1.1.6
49fd40c

Choose a tag to compare

skip set default view (console/web) and auto set display_errors = 0 if error is defined in excluded errors config

1.1.5

02 Dec 21:07
1.1.5
750770c

Choose a tag to compare

travis php 7.1